#define _CRT_SECURE_NO_WARNINGS 1
#include"SLlist.h"

void SLlisttest1()
{
	SL* s = NULL;

	SLPushfront(&s, 5);
	SLprint(s);
	SLPushback(&s, 5);
	SLPushback(&s, 7);
	SLPushback(&s, 9);
	SLPushback(&s, 2);
	SLPushback(&s, 10);
	SLprint(s);
	SL*ret=SLTFind(s, 7);
	SLInsertBefore(&s, ret, 10);
	SLprint(s);
	SLTpopposAfter(&s, ret);
	SLTpopposAfter(&s, ret);
	SLprint(s);
	/*SLprint(s);
	SLPopback(&s);
	SLprint(s);
	SLPopback(&s);
	SLprint(s);
	SLPopfront(&s);*/
	SLTInsertbefore(&s, ret, 1);
	SLprint(s);
	SLTpoppos(&s, ret);


	SLprint(s);

}

int main()
{
	SLlisttest1();
	return;
}